package com.example.ntweixin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.example.ntweixin.entity.WeixinEventPush;

@Mapper
public interface WeixinEventPushDao {
    int insert(@Param("pojo") WeixinEventPush pojo);

    int insertSelective(@Param("pojo") WeixinEventPush pojo);

    int insertList(@Param("pojos") List<WeixinEventPush> pojo);

    int update(@Param("pojo") WeixinEventPush pojo);

    WeixinEventPush findEventCode(@Param("eventType")String eventType, @Param("eventKey")String eventKey);
}
